package com.bdd.mapper;

import com.bdd.entity.Order;
import com.bdd.entity.Return;
import com.bdd.model.bo.ReturnBO;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReturnDao {

    Page<ReturnBO> selectAllByReturnId(@Param("returnId")Integer returnId);

    int insertSelective(Return record);

    Return selectByPrimaryKey(Integer id);

}
